/*
 * tick.h
 *
 * tick for system
 *
 * Copyright (C) 2022 Mi Micro Well TECH, Inc.
 * Subject to the GNU Public License, version 2.
 *
 * Author: guoming<guoming@microwell.net>
 */
#ifndef _TICK_H
#define _TICK_H
#include "init.h"

void tick_init(void);
void tick_exit(void);
uint16_t tick_get(void);
bool tick_timeout(uint8_t time);
void tick_ISR(void);
#endif